package org.lojzesframework.freeMarker.adapter;

import org.lojzesframework.freeMarker.gen.GenFile;

public class GenFileAdapterImpl implements DataAdapter {
	 
	public boolean genFiles(Object handler) {
		 if(supports(handler)){
			 return ((GenFile)handler).genFiles();
		 }
		return false;
	}

	public boolean supports(Object handler) {
		return handler instanceof GenFile ? true: false;
	}
	
}
